#include <stdio.h>
typedef int Element;
typedef struct list
{
	Element data;
	struct list* next;
	
}Node;
Node* createHead(){
	Node* head=(Node*)malloc(sizeof(Node));
	head->data=-99999;
	head->next=NULL; 
	return head;
} 
Node* createNode(Element data){
	Node* node=(Node*)malloc(sizeof(Node));
	node->data=data;
	node->next=NULL; 
	return node;
} 
void Preinsert(Node*head,Element data)
{
	Node* NewNode=createNode(data);
	NewNode->next=head->next;
	head->next=NewNode;
	
	
}
void printf_List(Node* head)
{
	Node* p=head->next;
	while(p->next!=NULL)
	{
		printf("%d ",head->data);
		p++;
	}
}
int main(){
	Node* head=createHead();
	Preinsert(head,2);
	printf_List(head);
	return 0;
}

